import { readFileSync, writeFileSync } from "fs"
import {numberToHex,numberToArray} from "@walletconnect/encoding"
import  {SmartBuffer}  from 'smart-buffer'
let bb = new SmartBuffer()

bb.writeInt16BE(5)
bb.writeInt16BE(8)

// writeFileSync('./out1.tt',bb)
// const buf =  readFileSync('./out1.tt')

console.log(bb.toBuffer());


